#!/usr/bin/env bash

ln -s /usr/local/openresty/nginx/sbin/nginx /usr/bin/nginx
cd /usr/local/openresty/nginx
nginx  -p `pwd` -c conf/nginx.conf -g "daemon off;"


# /usr/local/openresty/nginx/sbin/nginx \
# -p /usr/local/openresty/nginx \
# -c /usr/local/openresty/nginx/conf/nginx.conf \
# -g "daemon off;"
